]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
magnifier: Fix isTrackingMouse()
authorEvan Welsh <contact@evanwelsh.com>
Sat, 30 Oct 2021 22:00:02 +0000 (15:00 -0700)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 30 Jan 2024 14:55:29 +0000 (15:55 +0100)
Commit 8aed51180f changed the way mouse tracking is implemented,
but missed updating that function.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2037>

js/ui/magnifier.js

index a9e174df0fd94a6ea700442c0254d4c1455ef1d0..60971e9142870ac1ad01ea91717c2b475f4e5f15 100644 (file)
@@ -250,7 +250,7 @@ export class Magnifier extends Signals.EventEmitter {
      * @returns {boolean} whether the magnifier is currently tracking the mouse
      */
     isTrackingMouse() {
-        return !!this._mouseTrackingId;
+        return !!this._pointerWatch;
     }
 
     /**